package com.mycompany.app.testsuite.ldap;

import javax.naming.NamingException;

import com.mycompany.app.hr.security.service.ldap.UserLDAPAuthenService;
import com.mycompany.app.testsuite.BaseTestUtils;
import com.mycompany.app.util.SpringUtils;

public class LdapTest extends BaseTestUtils{
    
    public static void main(String[] args) throws NamingException {

        UserLDAPAuthenService s = (UserLDAPAuthenService) SpringUtils
                .getApplicationContext().getBean("userLDAPAuthenService");
        System.out.println(s);
        s.userAuthen("153299","153299");
        s.updateEmailAddress("153299", "guoxu1231@gmail.com");
//        s.resetPassword("153299", "153299");
//        s.userAuthen("153299","153299");
    }

}
